Set up cargo workspace
authorFelix Krull <f_krull@gmx.de>
Thu, 31 Oct 2019 12:37:57 +0000 (13:37 +0100)
committerColin Walters <walters@verbum.org>
Fri, 6 May 2022 16:53:54 +0000 (12:53 -0400)
rust-bindings/rust/.gitlab-ci.yml
rust-bindings/rust/Cargo.toml

index 4461e85d5b16ea90517d16d812bc14fa2e9909c6..f15d61eb702c229841d9a2fb08b9a2641e76e591 100644 (file)
@@ -35,13 +35,12 @@ build_all-features:
   stage: build
   script:
   - cargo clippy --all --features ${OSTREE_VERSION},futures -- -D warnings
-  - cargo test --verbose --manifest-path sys/Cargo.toml --features ${OSTREE_VERSION}
-  - cargo test --verbose --features ${OSTREE_VERSION},futures
+  - cargo test --verbose --all --features ${OSTREE_VERSION},futures
 
 build_default-features:
   stage: build
   script:
-  - cargo test --verbose
+  - cargo test --verbose --all
 
 # docs
 docs:
index dff9b634efb4d4e701384917411b0f8c71be1ca2..0f61a62000ae76a150cb8a9f2545e9270d1c844f 100644 (file)
@@ -28,6 +28,9 @@ repository = "fkrull/ostree-rs"
 [lib]
 name = "ostree"
 
+[workspace]
+members = ["sys"]
+
 [dependencies]
 libc = "0.2"
 bitflags = "1"